<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<title>商品细节-大连交通大学在线服务平台</title>
<link href="../css/bootstrap.min.css" rel="stylesheet" />
<link href="../css/font-awesome.min.css" rel="stylesheet" />
<link href="../css/common.css" rel="stylesheet" />
<link href="../images/favicon.ico" rel="shortcut icon" />
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.js"></script>
<script src="../js/bootstrapValidator.min.js"></script>
<script src="../js/language/zh_CN.js"></script>
<script src="../js/common.js"></script>
</head>
<body>
	<div class="center-block-2">
		<div class="list-group">
			<p class="list-group-item active">
				<img src="../images/ershou.png" width="20px" height="20px" alt="" /> 过滤条件：
			</p>
			<p>
				价格： <a href="../index/goods_show_list2.do?priceStart=0&priceEnd=99999">全部 </a><a
					href="../index/goods_show_list2.do?priceStart=0&priceEnd=500">0-500</a> <a
					href="../index/goods_show_list2.do?priceStart=501&priceEnd=1000">501-1000</a> <a
					href="../index/goods_show_list2.do?priceStart=1000&priceEnd=99999">1000以上</a>
			</p>
			<p>
				新旧程度： <a href="../index/goods_show_list2.do?location=null">全部 </a><a
					href="../index/goods_show_list2.do?level=1">98新</a> <a href="../index/goods_show_list2.do?level=2">95新
				</a> <a href="../index/goods_show_list2.do?level=3">9成新 </a><a href="../index/goods_show_list2.do?level=4">8成新
				</a><a href="../index/goods_show_list2.do?level=5">7成新 </a><a href="../index/goods_show_list2.do?level=6">6成新
				</a><a href="../index/goods_show_list2.do?level=7">5成新及以下 </a>
			</p>
			<p>
				货物地址： <a href="../index/goods_show_list2.do?location=null">全部 </a><a
					href="../index/goods_show_list2.do?location=1">校本部</a> <a href="../index/goods_show_list2.do?location=2">旅顺校区</a>
				<a href="../index/goods_show_list2.do?location=3">教学南区</a><a
					href="../index/goods_show_list2.do?location=4">爱恩学院</a>
			</p>
		</div>
		<div class="list-group">
			<p class="list-group-item active">
				<img src="../images/ershou.png" width="20px" height="20px" alt="" /> 商品列表
			</p>
			<div class="goods-div-er">
				<ul class="goods-sm">
					<c:choose>
						<c:when test="${not empty s_g_list}">
							<c:forEach items="${s_g_list}" var="goods" begin="0" end="7">
								<li><a href="../index/goods_show2.do?gid=${goods.gid}" class="thumbnail"> <img
										src="../${goods.imgurl}" alt="${goods.name}">
										<p>${goods.name}</p>
										<p class="price">￥${goods.price}</p>
								</a></li>
							</c:forEach>
						</c:when>
						<c:otherwise>
							<c:if test="${not empty s_g_list_msg}">
								<h3>${s_g_list_msg}</h3>
							</c:if>
							<c:forEach items="${application.index_goods}" var="goods" begin="0" end="7">
								<li><a href="../index/goods_show2.do?gid=${goods.gid}" class="thumbnail"> <img
										src="../${goods.imgurl}" alt="${goods.name}">
										<p>${goods.name}</p>
										<p class="price">￥${goods.price}</p>
								</a></li>
							</c:forEach>
						</c:otherwise>
					</c:choose>
				</ul>
			</div>
		</div>
	</div>
</body>
</html>